#!/bin/bash

if [ ! -f "$1" ];then
    echo "请输入包名列表文件"
    exit
fi

cat "$1" | while read package ; do
    ret=$(git grep -E "deb_package_name=.*$package")
    if [ 0 != $?  ] ; then
        echo "$package 没有提交"
    fi
done
